/*
 * Created on 26-abr-2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.facyt.vacas.services.utils;

import org.facyt.vacas.entities.vacas.MateriaPrima;

/**
 * @author vnemec
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class OrdenarMateriaPrimaNombre implements  java.util.Comparator<MateriaPrima> {

   
    public int compare(MateriaPrima mp1, MateriaPrima mp2) 
	{ 
		   return mp1.getDescripcion().compareTo(mp2.getDescripcion());    
	}
}
